package org.zfes.snowier.zbss.xzy.biz.config.model;
import org.zfes.snowier.core.data.IBaseModel;
public class MoConfigItem extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public MoConfigItem() {}
	public MoConfigItem(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotBlank(message="配置编码不能为空")
	@javax.validation.constraints.NotNull(message="配置编码不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="配置编码长度不能大于100")
	  private java.lang.String code;
 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="配置名称长度不能大于100")
	  private java.lang.String name;
 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
 

	  private java.lang.Byte dataType;
 

	  private java.lang.Byte status;
 
	
	//<-------------------------------------------->
	public MoConfigItem setCode(java.lang.String code){
		this.code=code==null?null:code.trim();
	 return this;
	}
	public java.lang.String getCode(){
		return this.code;
	}
	public MoConfigItem setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public MoConfigItem setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public MoConfigItem setDataType(java.lang.Byte dataType){
	 this.dataType=dataType;
	 return this;
	}
	public java.lang.Byte getDataType(){
		return this.dataType;
	}
	public MoConfigItem setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}

}
